#include "MatcherBase.h"



MatcherBase::MatcherBase() :
	m_dataRetrieval(&this->m_stream)
{
}


void MatcherBase::setHandler(match_handle handle, void* observer)
{
	m_dataRetrieval.setMatchHandle(handle, observer);
}

void MatcherBase::inStream(unsigned char p)
{
	m_dataRetrieval.inStream(p);
}

void MatcherBase::inStream(unsigned char* buf, int len)
{
	for (int i = 0; i < len; i++)inStream(buf[i]);
}
